DragonflyBSD 3.4 -> 3.6 アップグレードログ

2014/02/10 11:00:25

参考文献

DragonFlyBSD: Upgrading
http://www.dragonflybsd.org/docs/newhandbook/Upgrading/

後述するけどここじゃなくて make src-create したあとにある /usr/src/UPDATING を見たほうが良さそう。

手順

ソースの取得

# cd /usr
# time make src-create
...
26.695u 23.199s 14:16.58 5.8%   1922+366k 342+8912io 108pf+0w

ソースのチェックアウト

# cd /usr/src
# git checkout DragonFly_RELEASE_3_6
# time make buildworld
4245.582u 1858.224s 1:39:01.47 102.7%   4895+706k 146548+5614io 30190pf+0w
# time make buildkernel
-------------------------------------------------------------- 
>>> Kernel build for X86_64_GENERIC completed on Thu Feb  6 13:19:02 JST 2014 
-------------------------------------------------------------- 
795.755u 284.226s 17:25.09 103.3%       4850+700k 54686+96io 6784pf+0w 
# time make installkernel
2.952u 12.376s 0:23.89 64.1%    315+119k 7662+7854io 3758pf+0w
# time make installworld
16.916u 51.629s 1:33.19 73.5%   261+114k 35454+3810io 10722pf+0w
# time make upgrade
...
cd /usr/src/etc/../secure/lib/libssh; make -f Makefile.etc obj
cd /usr/src/etc/../secure/lib/libssh; make -f Makefile.etc install
1: Invalid argument
*** Error code 2

Stop.
make: stopped in /usr/src/secure/lib/libssh
*** Error code 1

Stop.
make: stopped in /usr/src/etc
*** Error code 1

Stop.
make: stopped in /usr/src
0.062u 0.870s 0:01.23 75.6%     344+132k 478+24io 92pf+0w

なんか失敗した.下記記事によると make upgrade するまえにリブートするらしい。

Bug #2602: make upgrade errors from DragonFly_RELEASE_3_4 to DragonFly_RELEASE_3_6 - DragonFlyBSD - DragonFlyBSD bugtracker http://bugs.dragonflybsd.org/issues/2602

Locales, iconv, strings, stdtime updated together: Full build required http://lists.dragonflybsd.org/pipermail/users/2013-September/090163.html

# reboot

# make upgrade
# reboot

ssh でログイン後表示された.

Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

DragonFly v3.6.0.23.gbec1e-RELEASE (X86_64_GENERIC) #0: Thu Feb  6 13:10:06 JST 2014

Welcome to DragonFly!

/usr/src/UPDATING に書いてあったわ.

UPDATING FROM 3.4 TO 3.6
------------------------

This only applies for this specific upgrade due to locale changes; it is
not needed for upgrades after 3.6.  Please update in this order:

make buildworld
make buildkernel
make installworld
make installkernel
*reboot*
make upgrade

See this mailing list post for details:
http://lists.dragonflybsd.org/pipermail/users/2013-September/090163.html
Back to Top